package javaee14.javaee;

import org.springframework.stereotype.Component;

@Component
public class Student {
    private String studentid;//学号
    private String name;//姓名
    private String gender;//性别
    private float result;//成绩
    private int dengji;
    private float junchengji;

    public String getStudentid() {
        return studentid;
    }

    public void setStudentid(String studentid) {
        this.studentid = studentid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public float getResult() {
        return result;
    }

    public void setResult(float result) {
        this.result = result;
    }

    public int getDengji() {
        return dengji;
    }

    public void setDengji(int dengji) {
        this.dengji = dengji;
    }

    public float getJunchengji() {
        return junchengji;
    }

    public void setJunchengji(float junchengji) {
        this.junchengji = junchengji;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentid='" + studentid + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", result=" + result +
                ", dengji=" + dengji +
                ", junchengji=" + junchengji +
                '}';
    }
}